<?php


/**
 * Description of adminUrl
 *
 * @author gun
 */
class CHelper_Controller_Helper_AdminUrl extends Zend_Controller_Action_Helper_Abstract {
    
    public function direct( $url = '' ) {
        return $this->AdminUrl( $url );
    }
    
    public function AdminUrl( $url = '' ) {
        return $this->getFrontController()->getBaseUrl() . "/" . $this->getRequest()->getModuleName() . "/$url";
    }
}

?>
